#ifndef QDockWidgetGlgs_H
#define QDockWidgetGlgs_H
#include "PluginLib/OcDyPublic.h"
#undef String
#include <QDockWidget>
#include "DataPublic.h"
class  QDockWidgetGlgs : public QDockWidget, public ObserverDeri
{
	Q_OBJECT

public:
	QDockWidgetGlgs(QWidget *parent);
	virtual ~QDockWidgetGlgs();

public:
	virtual HRESULT OnUpdate(void* pSender, LPARAM lHint, WPARAM wHint);
	virtual void dataToDlg();
	virtual void dlgTodata();
	void setLinkDock(QDockWidgetGlgs* qwGs);

	void setCurrentDlg(DesignerDlgTypePublic type, bool hasCommand = false);
	
	void linkDockSetCurrentDlg(DesignerDlgTypePublic type, bool hasCommand = false);

private slots:
void setCurrentUISlots(int type);

signals:
	void setCurrentUI(int type);

protected:
	QDockWidgetGlgs* mQDockWidgetGlgs;

};

#endif // AUTODRAGDLG_H
